package com.sm.model;


import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
public class Order {

  private Integer orderId;
  private String orderOn;
  private Integer userId;
  private Integer goodsId;
  private Integer goodsNumber;
  private double goodsMoney;
  private String goodsName;
  private String goodsImg;
  private double decreaseMoney;
  private double discountMoney;
  private double deliverMoney;
  private double totalMoney;
  private double realTotalMoney;
  private Integer orderStatus;
  private Integer payType;
  private Integer userAddressId;
  private String orderRemarks;
  @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN, timezone = "GMT+8")
  private Date orderTime;
  @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN, timezone = "GMT+8")
  private Date payTime;
  private Integer isRefund;
  private String userAddress;
  //订单号 下单回调用
  private String orderNum;

  private String remark;

  private String userName;

  private String userPhone;

  //物流单号
  private String expressNum;

}
